#include<iostream>
#include"double_list.hpp"
using namespace std;

void PopTest(double_list<int>& test)
{
    while(!test.empty())
    {
        test.Print();
        //test.popTail();
        test.popFront();
    }
}
void PushTest(double_list<int>& test)
{
    test.pushFront(1);
    test.pushFront(2);
    test.pushTail(3);
    test.pushTail(4);
    test.pushFront(6);
    //6 2 1 3 4
}
int main()
{
    double_list<int> test;
    PushTest(test);
    //test.Print();

    //test.clear();
    //test.Print();
    PopTest(test);
    return 0;
}
